/*
 *  functionsPgm.h
 *  PrimoAssegnamentoPGM
 *
 *  Created by lollo on 21/10/11.
 *  Copyright 2011 __MyCompanyName__. All rights reserved.
 *
 */

void sogliatura( const unsigned char *buf, unsigned char *out,unsigned int width, unsigned int height,short treshold);

void copia( const unsigned char *buf, unsigned char *out,unsigned int width, unsigned int height,short treshold);

void istogramma( const unsigned char *buf,unsigned int width, unsigned int height);

void abbLum( const unsigned char *buf, unsigned char *out,unsigned int width, unsigned int height,short treshold);

void subImg( const unsigned char *buf1,const unsigned char *buf2, unsigned char *out,unsigned int width, unsigned int height);

void filtroMed( const unsigned char *buf, unsigned char *out,unsigned int width, unsigned int height, unsigned int rayFilter);
